package request

type GetVodResourceListQuery struct {
	AreaName       string `json:"areaName"`
	ProgramName    string `json:"programName"`
	StartTime      string `json:"startTime"`
	EndTime        string `json:"endTime"`
	DownloadStatus *int   `json:"downloadStatus"`
	CurrentPage    int    `json:"currentPage"`
	NumPerPage     int    `json:"numPerPage"`
}

type AddOrUpdateVodResourceQuery struct {
	Id             string `json:"id"`
	AreaName       string `json:"areaName"`
	ProgramName    string `json:"programName"`
	SignalStatus   *int   `json:"signalStatus"`
	PreviewUrl     string `json:"previewUrl"`
	DownloadStatus *int   `json:"downloadStatus"`
	StartTime      string `json:"startTime"`
	EndTime        string `json:"endTime"`
}

type DeleteVodResourceQuery struct {
	VodResourceIds []string `json:"vodResourceIds"`
}

type GetVodResourceDetailQuery struct {
	VodResourceId string `json:"vodResourceId"`
}

type DownloadVodResourceQuery struct {
	VodResourceId string `json:"vodResourceId"`
	VideoUrl string `json:"videoUrl"` // HTTP视频资源地址
}